package cn.dengl.sky.springboot.codeUtil;

import java.util.List;
import java.util.Set;

/**
 * 表结构模型
 */
public class TableModel {
    private String tableName;//表名
    private List<ColumnModel>primarykeyColumns;//主键列
    private List<ColumnModel>columns;//列
    private Set<String>imports;//需要引入的包
    TableModel(){

    }
    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<ColumnModel> getPrimarykeyColumns() {
        return primarykeyColumns;
    }

    public void setPrimarykeyColumns(List<ColumnModel> primarykeyColumns) {
        this.primarykeyColumns = primarykeyColumns;
    }

    public List<ColumnModel> getColumns() {
        return columns;
    }

    public void setColumns(List<ColumnModel> columns) {
        this.columns = columns;
    }

    public Set<String> getImports() {
        return imports;
    }

    public void setImports(Set<String> imports) {
        this.imports = imports;
    }
}
